The purpose of this model is to understand how genetic architectures of alternative reproductive tactics impact their maintenance in populations. I’m using an individual-based simulation model with different selection scenarios, types of alternative tactics, and genetic architectures (genome-wide additive genetic variance, supergenes, expression networks).

Overview of the model

Males can be courters or not-courters and parents or not-parents. When the model is run with both traits, this results in four possible morphs: courter/parent, courter/not-parent, not-courter/parent, and not-courter/not-parent. Generations are non-overlapping and there is one reproductive bout per generation. In each generation, the population follows the following timeline:

1. Choosing a nest

A female samples 50 males and chooses a male to nest with based on his courtship trait. If there are no courtship traits in the model, she chooses based on the male’s parental trait. If she does not encouter an acceptable male, she does not nest. If she encounters multiple equally-acceptable males, she randomly selects one of them.

2. Fertilization

Once a female decides to nest, up to three males can fertilize the nest. Courters and parental males can contribute more sperm than non-courter and non-parental males: \(r_{courter}=r_{parent}=8\) and \(r_{non-courter}=r_{non-parent}=4\). A courter/non-parent has \(r_{non-parent}\) and a non-courter/parent has \(r_{parent}\). The male with whom the female is nesting gets \(r_{parent}/\Sigma{n_{sperm}}\) and additional non-parental males (up to 2) get \((r_{non-parent}*0.5/\Sigma{n_{sperm}})\), where \(\Sigma{n_{sperm}}\) is the total number of sperm contributed by all of the males, weighted by the sperm competition factor (0.5 is the default for all males except the nesting male). So, when a female mates with one courter and two non-parentals, \(\Sigma{n_{sperm}}\) = \(r_{courter}\) + 2\(*\)(0.5\(*\)\(r_{sneaker}\)), where \(r_{courter}\) = 8 and \(r_{sneaker}\) = 4, therefore \(\Sigma{n_{sperm}}\) = 12.

That being said, every time a male mates he uses his sperm, so after one mating where a courter fertilizes 50% of the female’s 4 eggs, he only has 6 sperm for his next mating.

3. Nest Survival

Before the babies can survive, the nest has to survive. This step is only relevant when parental traits are in the model - if only the courtship trait is specified, then all progeny in the nest survive at this point. When males have the parental trait, if the female has given eggs to a non-parental male (because she chose based on courtship traits), then the nest has a 10% chance of surviving. If the female has given eggs to a parental male, the nest has a 90% chance of surviving.

4. Density-dependent survival

Once the identities of the surviving nests are known–along with the identities of the parents, including sneaker parents–the offspring are created in the simulation. The offspring are created to fill the full carrying capacity of the population, with the numbers per nest being equally divided among all surviving offspring. This allows the population to maintain a constant population size (prior to viability selection) while maintaining the relative successes of the given genotypes/morphs.

5. Viability selection

Before becoming adults, the offspring experience viability selection. Courters and parental males are disfavored in viability selection, with a survival probability of 0.9950125. If an individual is both a courter and a parental male, the survival probability is 0.9900498. Non-courters and non-parental males have survival probabilities of 1.

Evaluating equilibrium

After 10000 generations, I begin tracking the change in frequency of the courter and parent traits, and do so for 2000 additional generations. I calculate the variance in the change in frequency over those 2000 generations. I declare an equilibrium (‘stasis’) has been reached if the last change in frequency of both traits is less than the variance in changes in frequency.

Unlinked additive genetic variance

In these cases, the traits are encoded by a number (50) of loci, whose alleles contribute additively to determine the trait value. These alleles are all freely recombining and are not adhered to any physical genomic location (aka this is a classical quantitative genetics approach). The overall trait value is compared to a population-level threshold (which is static, in these cases), and if the trait value is above the threshold the male takes the parent or courter morph and if it is below he does not. Below, I’m showing the results from 10 replicates of each scenario.

Courter trait

Females choose nests based on whether the male is a courter or not, and they all prefer courters all of the time (the female preference does not have a genetic basis and does not evolve). The only way that non-courters produce offspring is through sneaking, but all males can be sneakers (both courters and non-courters). Because parental care is not incorporated in this model, all nests survive.

Frequency of the courter morph (each color represents a different replicate)

Frequency of the courter morph (each color represents a different replicate)

Of the 20 replicates, 0 reached an equilibrium by 10000 generations.

Frequency of courters in final generation
CourterFreq CourterW NonCourterW
courter_unlinked_1_summary.txt_1 1 2.00401 0
courter_unlinked_1_summary.txt_2 1 2.08333 0
courter_unlinked_1_summary.txt_3 1 2.11416 0
courter_unlinked_1_summary.txt_4 1 1.97628 0
courter_unlinked_2_summary.txt_1 1 2.00401 0
courter_unlinked_2_summary.txt_2 1 2.08333 0
courter_unlinked_2_summary.txt_3 1 2.11416 0
courter_unlinked_2_summary.txt_4 1 1.97628 0
courter_unlinked_3_summary.txt_1 1 1.94175 0
courter_unlinked_3_summary.txt_2 1 2.02840 0
courter_unlinked_3_summary.txt_3 1 2.10526 0
courter_unlinked_3_summary.txt_4 1 1.98413 0
courter_unlinked_4_summary.txt_1 1 1.94175 0
courter_unlinked_4_summary.txt_2 1 2.02840 0
courter_unlinked_4_summary.txt_3 1 2.10526 0
courter_unlinked_4_summary.txt_4 1 1.98413 0
courter_unlinked_5_summary.txt_1 1 1.93050 0
courter_unlinked_5_summary.txt_2 1 2.00401 0
courter_unlinked_5_summary.txt_3 1 1.93424 0
courter_unlinked_5_summary.txt_4 1 2.00000 0

Parental trait

All females nest with parental males, so the only way non-parental males reproduce is through sneaking. Parental males provide care that allows nests to have a 90% chance of survival. The female preference does not have a genetic basis and does not evolve.

Frequency of parent morph (each color represents a different replicate)

Frequency of parent morph (each color represents a different replicate)

Frequency of parents in final generation
ParentFreq ParentW NonParentW
parent_unlinked_1_summary.txt_1 0.514170 1.35573 0.348548
parent_unlinked_1_summary.txt_2 0.551257 1.44912 0.370690
parent_unlinked_1_summary.txt_3 0.532803 1.39179 0.344681
parent_unlinked_1_summary.txt_4 0.491429 1.37209 0.318352
parent_unlinked_2_summary.txt_1 0.514170 1.35573 0.348548
parent_unlinked_2_summary.txt_2 0.551257 1.44912 0.370690
parent_unlinked_2_summary.txt_3 0.532803 1.39179 0.344681
parent_unlinked_2_summary.txt_4 0.491429 1.37209 0.318352
parent_unlinked_3_summary.txt_1 0.552632 1.36264 0.312217
parent_unlinked_3_summary.txt_2 0.599589 1.49315 0.307692
parent_unlinked_3_summary.txt_3 0.566390 1.39927 0.282297
parent_unlinked_3_summary.txt_4 0.632609 1.75601 0.449704
parent_unlinked_4_summary.txt_1 0.552632 1.36264 0.312217
parent_unlinked_4_summary.txt_2 0.599589 1.49315 0.307692
parent_unlinked_4_summary.txt_3 0.566390 1.39927 0.282297
parent_unlinked_4_summary.txt_4 0.632609 1.75601 0.449704
parent_unlinked_5_summary.txt_1 0.548807 1.62451 0.504808
parent_unlinked_5_summary.txt_2 0.512195 1.60714 0.279167
parent_unlinked_5_summary.txt_3 0.646939 1.66246 0.404624
parent_unlinked_5_summary.txt_4 0.537223 1.25468 0.395652

Variation was maintained in 20 of the 20. 0 of the 20 populations crashed, though. Of the 20 replicates, 20 reached an equilibrium by 10000 generations.

Courtship and Parental Traits

Females choose nests based on males’ courtship trait (they all only nest with courting males, and the female preference does not have a genetic basis and does not evolve), and then the survival of the nest depends on whether the courting male is also a parental male. If the chosen male is a parental male, the nest has a 90% chance of survival. Otherwise, it only has a 10% chance. Non-courters only reproduce through sneaking.

The different runs have different outcomes.

Let’s look at the morph frequencies.

Frequency of the 4 morphs in each rep

Frequency of the 4 morphs in each rep

In some of the runs the population crashed after few generations. This is obvious when looking at the the final frequencies in a table as well:

Frequency of morphs in final generation
Generation Pop PopSize NumMal NumFem NumProgeny ParentThresh ParentFreq ParentW NonParentW CourterThresh CourterFreq CourterW NonCourterW FreqNcNp FreqCNp FreqNcP FreqCP PrefThresh PrefFreq
parent-courter_unlinked_1_summary.txt_1 11999 Pop0 997 492 505 1000 -0.0974451 0.930894 1.83188 1.705880 0.270693 0.930894 1.831880 1.70588 0.0691057 0.000000 0.000000 0.930894 NA NA
parent-courter_unlinked_1_summary.txt_2 11999 Pop1 967 461 506 1000 -0.0974451 0.911063 1.95238 1.512200 0.270693 0.911063 1.952380 1.51220 0.0889371 0.000000 0.000000 0.911063 NA NA
parent-courter_unlinked_1_summary.txt_3 11999 Pop2 946 498 448 1000 -0.0974451 0.905622 1.86475 1.297870 0.270693 0.905622 1.864750 1.29787 0.0943775 0.000000 0.000000 0.905622 NA NA
parent-courter_unlinked_1_summary.txt_4 11999 Pop3 963 463 500 1000 -0.0974451 0.902808 2.01675 1.377780 0.270693 0.902808 2.016750 1.37778 0.0971922 0.000000 0.000000 0.902808 NA NA
parent-courter_unlinked_2_summary.txt_1 11999 Pop0 997 492 505 1000 -0.0974451 0.930894 1.83188 1.705880 0.270693 0.930894 1.831880 1.70588 0.0691057 0.000000 0.000000 0.930894 NA NA
parent-courter_unlinked_2_summary.txt_2 11999 Pop1 967 461 506 1000 -0.0974451 0.911063 1.95238 1.512200 0.270693 0.911063 1.952380 1.51220 0.0889371 0.000000 0.000000 0.911063 NA NA
parent-courter_unlinked_2_summary.txt_3 11999 Pop2 946 498 448 1000 -0.0974451 0.905622 1.86475 1.297870 0.270693 0.905622 1.864750 1.29787 0.0943775 0.000000 0.000000 0.905622 NA NA
parent-courter_unlinked_2_summary.txt_4 11999 Pop3 963 463 500 1000 -0.0974451 0.902808 2.01675 1.377780 0.270693 0.902808 2.016750 1.37778 0.0971922 0.000000 0.000000 0.902808 NA NA
parent-courter_unlinked_3_summary.txt_1 11999 Pop0 955 472 483 1000 0.6239620 0.957627 1.90708 2.350000 -1.050790 0.957627 1.907080 2.35000 0.0423729 0.000000 0.000000 0.957627 NA NA
parent-courter_unlinked_3_summary.txt_2 11999 Pop1 949 473 476 1000 0.6239620 0.942918 1.90135 1.814810 -1.050790 0.942918 1.901350 1.81481 0.0570825 0.000000 0.000000 0.942918 NA NA
parent-courter_unlinked_3_summary.txt_3 11999 Pop2 948 489 459 1000 0.6239620 0.926380 1.84989 1.583330 -1.050790 0.926380 1.849890 1.58333 0.0736196 0.000000 0.000000 0.926380 NA NA
parent-courter_unlinked_3_summary.txt_4 11999 Pop3 952 490 462 1000 0.6239620 0.944898 1.79698 1.962960 -1.050790 0.944898 1.796980 1.96296 0.0551020 0.000000 0.000000 0.944898 NA NA
parent-courter_unlinked_4_summary.txt_1 11999 Pop0 955 472 483 1000 0.6239620 0.957627 1.90708 2.350000 -1.050790 0.957627 1.907080 2.35000 0.0423729 0.000000 0.000000 0.957627 NA NA
parent-courter_unlinked_4_summary.txt_2 11999 Pop1 949 473 476 1000 0.6239620 0.942918 1.90135 1.814810 -1.050790 0.942918 1.901350 1.81481 0.0570825 0.000000 0.000000 0.942918 NA NA
parent-courter_unlinked_4_summary.txt_3 11999 Pop2 948 489 459 1000 0.6239620 0.926380 1.84989 1.583330 -1.050790 0.926380 1.849890 1.58333 0.0736196 0.000000 0.000000 0.926380 NA NA
parent-courter_unlinked_4_summary.txt_4 11999 Pop3 952 490 462 1000 0.6239620 0.944898 1.79698 1.962960 -1.050790 0.944898 1.796980 1.96296 0.0551020 0.000000 0.000000 0.944898 NA NA
parent-courter_unlinked_5_summary.txt_1 11999 Pop0 552 242 310 576 -0.7776460 0.404959 0.00000 0.513889 -0.207521 0.595041 0.513889 0.00000 0.0000000 0.595041 0.404959 0.000000 NA NA
parent-courter_unlinked_5_summary.txt_2 11999 Pop1 753 360 393 832 -0.7776460 0.422222 0.00000 0.355769 -0.207521 0.577778 0.357488 0.00000 0.0000000 0.577778 0.422222 0.000000 NA NA
parent-courter_unlinked_5_summary.txt_3 11999 Pop2 771 382 389 942 -0.7776460 0.382199 0.00000 0.330508 -0.207521 0.617801 0.330508 0.00000 0.0000000 0.617801 0.382199 0.000000 NA NA
parent-courter_unlinked_5_summary.txt_4 11999 Pop3 802 382 420 913 -0.7776460 0.400524 0.00000 0.327511 -0.207521 0.599476 0.327511 0.00000 0.0000000 0.599476 0.400524 0.000000 NA NA

Multiple morphs are maintained in 20 of the 20 replicates, and those morphs contain either a parent or a courter. However, 0 of those reps with variation actually crashed.

Linked additive genetic variance

Courter trait

Frequency of the courter morph with linked QTLs (each color represents a different replicate)

Frequency of the courter morph with linked QTLs (each color represents a different replicate)

Of the 20 replicates, 0 reached an equilibrium by 10000 generations.

Frequency of courters with linked QTLs in final generation
CourterFreq CourterW NonCourterW
courter_linked_1_summary.txt_1 1 1.94175 0
courter_linked_1_summary.txt_2 1 1.98020 0
courter_linked_1_summary.txt_3 1 1.98807 0
courter_linked_1_summary.txt_4 1 2.15983 0
courter_linked_2_summary.txt_1 1 1.94175 0
courter_linked_2_summary.txt_2 1 1.98020 0
courter_linked_2_summary.txt_3 1 1.98807 0
courter_linked_2_summary.txt_4 1 2.15983 0
courter_linked_3_summary.txt_1 1 2.10970 0
courter_linked_3_summary.txt_2 1 1.94553 0
courter_linked_3_summary.txt_3 1 1.96850 0
courter_linked_3_summary.txt_4 1 1.98807 0
courter_linked_4_summary.txt_1 1 2.09644 0
courter_linked_4_summary.txt_2 1 2.00401 0
courter_linked_4_summary.txt_3 1 1.96850 0
courter_linked_4_summary.txt_4 1 2.12314 0
courter_linked_5_summary.txt_1 1 1.89394 0
courter_linked_5_summary.txt_2 1 2.06186 0
courter_linked_5_summary.txt_3 1 1.96850 0
courter_linked_5_summary.txt_4 1 1.98020 0

Every rep has the courtship trait go to fixation.

Parental trait

All females nest with parental males, so the only way non-parental males reproduce is through sneaking. Parental males provide care that allows nests to have a 90% chance of survival. The female preference does not have a genetic basis and does not evolve.

Frequency of parent morph with linked QTLs (each color represents a different replicate)

Frequency of parent morph with linked QTLs (each color represents a different replicate)

Frequency of parents with linked QTLs in final generation
ParentFreq ParentW NonParentW
parent_linked_1_summary.txt_1 0.821782 1.64337 0.677778
parent_linked_1_summary.txt_2 0.834356 1.64706 0.765432
parent_linked_1_summary.txt_3 0.864271 1.63279 0.779412
parent_linked_1_summary.txt_4 0.851272 1.57471 0.960526
parent_linked_2_summary.txt_1 0.821782 1.64337 0.677778
parent_linked_2_summary.txt_2 0.834356 1.64706 0.765432
parent_linked_2_summary.txt_3 0.864271 1.63279 0.779412
parent_linked_2_summary.txt_4 0.851272 1.57471 0.960526
parent_linked_3_summary.txt_1 0.885375 1.60268 0.948276
parent_linked_3_summary.txt_2 0.889535 1.63834 0.719298
parent_linked_3_summary.txt_3 0.871287 1.67955 0.923077
parent_linked_3_summary.txt_4 0.876268 1.72454 0.508197
parent_linked_4_summary.txt_1 0.813820 1.57547 0.721649
parent_linked_4_summary.txt_2 0.809346 1.44804 0.617647
parent_linked_4_summary.txt_3 0.793233 1.56161 0.372727
parent_linked_4_summary.txt_4 0.796992 1.52123 0.592593
parent_linked_5_summary.txt_1 0.897590 1.62640 1.058820
parent_linked_5_summary.txt_2 0.851190 1.67133 0.506667
parent_linked_5_summary.txt_3 0.869478 1.66282 0.630769
parent_linked_5_summary.txt_4 0.847251 1.64904 0.706667

Variation was maintained in 20 of the 20. 0 of the 20 populations crashed, though. Of the 20 replicates, 20 reached an equilibrium by 10000 generations.

Courtship and Parental Traits

Females choose nests based on males’ courtship trait (they all only nest with courting males, and the female preference does not have a genetic basis and does not evolve), and then the survival of the nest depends on whether the courting male is also a parental male. If the chosen male is a parental male, the nest has a 90% chance of survival. Otherwise, it only has a 10% chance. Non-courters only reproduce through sneaking.

Frequency of the two morphs with linked QTLs (courter = green, parent = blue)

Frequency of the two morphs with linked QTLs (courter = green, parent = blue)

The different runs have different outcomes.

Let’s look at the morph frequencies.

Frequency of the 4 morphs in each rep with linked QTLs

Frequency of the 4 morphs in each rep with linked QTLs

In some of the runs the population crashed after few generations. This is obvious when looking at the the final frequencies in a table as well:

Frequency of morphs in final generation (linked loci)
Generation Pop PopSize NumMal NumFem NumProgeny ParentThresh ParentFreq ParentW NonParentW CourterThresh CourterFreq CourterW NonCourterW FreqNcNp FreqCNp FreqNcP FreqCP PrefThresh PrefFreq
parent-courter_linked_1_summary.txt_1 11999 Pop0 976 497 479 1000 0.0955683 0.891348 1.8149000 1.148150 0.136879 0.909457 1.807520 1.0888900 0.0804829 0.0281690 0.0100604 0.8812880 NA NA
parent-courter_linked_1_summary.txt_2 11999 Pop1 1000 494 506 1000 0.0955683 0.890688 1.8727300 1.074070 0.136879 0.888664 1.881550 1.0181800 0.0931174 0.0161943 0.0182186 0.8724700 NA NA
parent-courter_linked_1_summary.txt_3 11999 Pop2 986 486 500 1000 0.0955683 0.915638 1.9056200 1.317070 0.136879 0.907407 1.927440 1.1555600 0.0802469 0.0041152 0.0123457 0.9032920 NA NA
parent-courter_linked_1_summary.txt_4 11999 Pop3 980 476 504 1000 0.0955683 0.909664 1.8822200 0.883721 0.136879 0.934874 1.851690 0.9354840 0.0567227 0.0336134 0.0084034 0.9012610 NA NA
parent-courter_linked_2_summary.txt_1 11999 Pop0 964 477 487 1000 -0.9036380 0.400419 0.0104712 0.318182 -1.223350 0.599581 0.325175 0.0000000 0.0020964 0.5974840 0.3983230 0.0020964 NA NA
parent-courter_linked_2_summary.txt_2 11999 Pop1 964 465 499 1000 -0.9036380 0.453763 0.2938390 0.385827 -1.223350 0.576344 0.589552 0.0101523 0.0021505 0.5440860 0.4215050 0.0322581 NA NA
parent-courter_linked_2_summary.txt_3 11999 Pop2 964 461 503 1000 -0.9036380 0.483731 0.2421520 0.449580 -1.223350 0.548807 0.628458 0.0096154 0.0021692 0.5141000 0.4490240 0.0347072 NA NA
parent-courter_linked_2_summary.txt_4 11999 Pop3 963 468 495 1000 -0.9036380 0.416667 0.0000000 0.326007 -1.223350 0.583333 0.326007 0.0000000 0.0000000 0.5833330 0.4166670 0.0000000 NA NA
parent-courter_linked_3_summary.txt_1 11999 Pop0 964 477 487 1000 -0.9036380 0.400419 0.0104712 0.318182 -1.223350 0.599581 0.325175 0.0000000 0.0020964 0.5974840 0.3983230 0.0020964 NA NA
parent-courter_linked_3_summary.txt_2 11999 Pop1 964 465 499 1000 -0.9036380 0.453763 0.2938390 0.385827 -1.223350 0.576344 0.589552 0.0101523 0.0021505 0.5440860 0.4215050 0.0322581 NA NA
parent-courter_linked_3_summary.txt_3 11999 Pop2 964 461 503 1000 -0.9036380 0.483731 0.2421520 0.449580 -1.223350 0.548807 0.628458 0.0096154 0.0021692 0.5141000 0.4490240 0.0347072 NA NA
parent-courter_linked_3_summary.txt_4 11999 Pop3 963 468 495 1000 -0.9036380 0.416667 0.0000000 0.326007 -1.223350 0.583333 0.326007 0.0000000 0.0000000 0.5833330 0.4166670 0.0000000 NA NA
parent-courter_linked_4_summary.txt_1 11999 Pop0 1000 497 503 1000 -1.6687500 0.903421 1.7772800 1.083330 -0.524978 0.911469 1.763800 1.1590900 0.0784708 0.0181087 0.0100604 0.8933600 NA NA
parent-courter_linked_4_summary.txt_2 11999 Pop1 1000 499 501 1000 -1.6687500 0.879760 1.8678800 0.750000 -0.524978 0.887776 1.857790 0.7500000 0.1062120 0.0140281 0.0060120 0.8737470 NA NA
parent-courter_linked_4_summary.txt_3 11999 Pop2 971 506 465 1000 -1.6687500 0.915020 1.7710600 1.581400 -0.524978 0.934783 1.769560 1.5454500 0.0612648 0.0237154 0.0039526 0.9110670 NA NA
parent-courter_linked_4_summary.txt_4 11999 Pop3 991 508 483 1000 -1.6687500 0.899606 1.7855600 1.098040 -0.524978 0.901575 1.801310 0.9400000 0.0826772 0.0177165 0.0157480 0.8838580 NA NA
parent-courter_linked_5_summary.txt_1 11999 Pop0 1000 490 510 1000 0.0631923 0.908163 1.8134800 1.644440 0.592021 0.912245 1.836690 1.3953500 0.0755102 0.0163265 0.0122449 0.8959180 NA NA
parent-courter_linked_5_summary.txt_2 11999 Pop1 1000 505 495 1000 0.0631923 0.942574 1.7542000 1.448280 0.592021 0.940594 1.770530 1.2000000 0.0455446 0.0118812 0.0138614 0.9287130 NA NA
parent-courter_linked_5_summary.txt_3 11999 Pop2 1000 486 514 1000 0.0631923 0.907407 1.8662100 1.400000 0.592021 0.909465 1.891400 1.1363600 0.0740741 0.0185185 0.0164609 0.8909470 NA NA
parent-courter_linked_5_summary.txt_4 11999 Pop3 1000 503 497 1000 0.0631923 0.936382 1.8280300 1.562500 0.592021 0.930417 1.858970 1.1714300 0.0516899 0.0119284 0.0178926 0.9184890 NA NA

Multiple morphs are maintained in 20 of the 20 replicates, and those morphs contain either a parent or a courter. However, 0 of those reps with variation actually crashed.

Supergenes

Courter trait

Frequency of the courter morph with supergenes (each color represents a different replicate)

Frequency of the courter morph with supergenes (each color represents a different replicate)

Of the 20 replicates, 0 reached an equilibrium by 10000 generations.

Frequency of courters with supergenes in final generation
CourterFreq CourterW NonCourterW
courter_supergene_1_summary.txt_1 1 2.03252 0
courter_supergene_1_summary.txt_2 1 2.00803 0
courter_supergene_1_summary.txt_3 1 2.08333 0
courter_supergene_1_summary.txt_4 1 2.12766 0
courter_supergene_2_summary.txt_1 1 2.03252 0
courter_supergene_2_summary.txt_2 1 2.00803 0
courter_supergene_2_summary.txt_3 1 2.08333 0
courter_supergene_2_summary.txt_4 1 2.12766 0
courter_supergene_3_summary.txt_1 1 2.03252 0
courter_supergene_3_summary.txt_2 1 2.00803 0
courter_supergene_3_summary.txt_3 1 2.08333 0
courter_supergene_3_summary.txt_4 1 2.12766 0
courter_supergene_4_summary.txt_1 1 2.03252 0
courter_supergene_4_summary.txt_2 1 2.00803 0
courter_supergene_4_summary.txt_3 1 2.08333 0
courter_supergene_4_summary.txt_4 1 2.12766 0
courter_supergene_5_summary.txt_1 1 2.03252 0
courter_supergene_5_summary.txt_2 1 2.00803 0
courter_supergene_5_summary.txt_3 1 2.08333 0
courter_supergene_5_summary.txt_4 1 2.12766 0

Parental trait

All females nest with parental males, so the only way non-parental males reproduce is through sneaking. Parental males provide care that allows nests to have a 90% chance of survival. The female preference does not have a genetic basis and does not evolve.

Frequency of parent morph with supergenes (each color represents a different replicate)

Frequency of parent morph with supergenes (each color represents a different replicate)

Frequency of parents with supergenes in final generation
ParentFreq ParentW NonParentW
parent_supergene_1_summary.txt_1 0.6554740 1.45725 0.311688
parent_supergene_1_summary.txt_2 0.6619060 1.38828 0.324444
parent_supergene_1_summary.txt_3 0.6497940 1.54244 0.314894
parent_supergene_1_summary.txt_4 0.6493420 1.63846 0.355556
parent_supergene_2_summary.txt_1 0.0537229 1.60762 0.609375
parent_supergene_2_summary.txt_2 0.0541088 1.62471 0.811594
parent_supergene_2_summary.txt_3 0.0542452 1.66591 0.793103
parent_supergene_2_summary.txt_4 0.0530819 1.66292 0.701493
parent_supergene_3_summary.txt_1 0.6554740 1.45725 0.311688
parent_supergene_3_summary.txt_2 0.6619060 1.38828 0.324444
parent_supergene_3_summary.txt_3 0.6497940 1.54244 0.314894
parent_supergene_3_summary.txt_4 0.6493420 1.63846 0.355556
parent_supergene_4_summary.txt_1 0.6554740 1.45725 0.311688
parent_supergene_4_summary.txt_2 0.6619060 1.38828 0.324444
parent_supergene_4_summary.txt_3 0.6497940 1.54244 0.314894
parent_supergene_4_summary.txt_4 0.6493420 1.63846 0.355556
parent_supergene_5_summary.txt_1 0.0548060 1.59513 1.125000
parent_supergene_5_summary.txt_2 0.0523551 1.55814 0.573333
parent_supergene_5_summary.txt_3 0.0535127 1.64692 0.913793
parent_supergene_5_summary.txt_4 0.0536944 1.86232 0.593220

Variation was maintained in 20 of the 20. 0 of the 20 populations crashed, though. Of the 20 replicates, 20 reached an equilibrium by 10000 generations.

Courtship and Parental Traits

Females choose nests based on males’ courtship trait (they all only nest with courting males, and the female preference does not have a genetic basis and does not evolve), and then the survival of the nest depends on whether the courting male is also a parental male. If the chosen male is a parental male, the nest has a 90% chance of survival. Otherwise, it only has a 10% chance. Non-courters only reproduce through sneaking.

Frequency of the two morphs with linked QTLs (courter = green, parent = blue)

Frequency of the two morphs with linked QTLs (courter = green, parent = blue)

The different runs have different outcomes.

Let’s look at the morph frequencies.

Frequency of the 4 morphs in each rep with supergenes

Frequency of the 4 morphs in each rep with supergenes

In some of the runs the population crashed after few generations. This is obvious when looking at the the final frequencies in a table as well:

Frequency of morphs in final generation (supergenes)
Generation Pop PopSize NumMal NumFem NumProgeny ParentThresh ParentAEmean ParentAEsd ParentFreq ParentW NonParentW CourterThresh CourterAEmean CourterAEsd CourterFreq CourterW NonCourterW FreqNcNp FreqCNp FreqNcP FreqCP PrefThresh PrefFreq
parent-courter_supergene_1_summary.txt_1 11999 Pop0 1000 517 483 1000 -0.145370 0.413926 -0.227846 0.801550 0 0.392739 -0.580625 -0.433863 1.426320 0.586074 0.392739 0 0 0.586074 0.413926 0 NA NA
parent-courter_supergene_1_summary.txt_2 11999 Pop1 1000 526 474 1000 -0.145370 0.412548 -0.229782 0.801379 0 0.323625 -0.580625 -0.430418 1.426010 0.587452 0.323625 0 0 0.587452 0.412548 0 NA NA
parent-courter_supergene_1_summary.txt_3 11999 Pop2 1000 523 477 1000 -0.145370 0.416826 -0.227010 0.803635 0 0.347541 -0.580625 -0.435350 1.430030 0.583174 0.347541 0 0 0.583174 0.416826 0 NA NA
parent-courter_supergene_1_summary.txt_4 11999 Pop3 1000 511 489 1000 -0.145370 0.422701 -0.215597 0.802676 0 0.277966 -0.580625 -0.455659 1.428320 0.577299 0.277966 0 0 0.577299 0.422701 0 NA NA
parent-courter_supergene_2_summary.txt_1 11999 Pop0 764 368 396 839 0.589242 0.429348 0.559302 0.263498 0 0.371429 1.242580 1.344440 0.896403 0.570652 0.371429 0 0 0.570652 0.429348 0 NA NA
parent-courter_supergene_2_summary.txt_2 11999 Pop1 796 369 427 823 0.589242 0.439024 0.564533 0.263273 0 0.342995 1.242580 1.326640 0.895638 0.560976 0.342995 0 0 0.560976 0.439024 0 NA NA
parent-courter_supergene_2_summary.txt_3 11999 Pop2 905 423 482 932 0.589242 0.446809 0.562169 0.266801 0 0.341880 1.242580 1.334680 0.907640 0.553191 0.341880 0 0 0.553191 0.446809 0 NA NA
parent-courter_supergene_2_summary.txt_4 11999 Pop3 772 387 385 900 0.589242 0.416021 0.560847 0.258800 0 0.451327 1.242580 1.339180 0.880423 0.583979 0.451327 0 0 0.583979 0.416021 0 NA NA
parent-courter_supergene_3_summary.txt_1 11999 Pop0 1000 517 483 1000 -0.145370 0.413926 -0.227846 0.801550 0 0.392739 -0.580625 -0.433863 1.426320 0.586074 0.392739 0 0 0.586074 0.413926 0 NA NA
parent-courter_supergene_3_summary.txt_2 11999 Pop1 1000 526 474 1000 -0.145370 0.412548 -0.229782 0.801379 0 0.323625 -0.580625 -0.430418 1.426010 0.587452 0.323625 0 0 0.587452 0.412548 0 NA NA
parent-courter_supergene_3_summary.txt_3 11999 Pop2 1000 523 477 1000 -0.145370 0.416826 -0.227010 0.803635 0 0.347541 -0.580625 -0.435350 1.430030 0.583174 0.347541 0 0 0.583174 0.416826 0 NA NA
parent-courter_supergene_3_summary.txt_4 11999 Pop3 1000 511 489 1000 -0.145370 0.422701 -0.215597 0.802676 0 0.277966 -0.580625 -0.455659 1.428320 0.577299 0.277966 0 0 0.577299 0.422701 0 NA NA
parent-courter_supergene_4_summary.txt_1 11999 Pop0 1000 522 478 1000 -0.145370 0.419540 -0.220734 0.802658 0 0.326733 -0.580625 -0.446518 1.428290 0.580460 0.326733 0 0 0.580460 0.419540 0 NA NA
parent-courter_supergene_4_summary.txt_2 11999 Pop1 1000 516 484 1000 -0.145370 0.420543 -0.236098 0.811677 0 0.351171 -0.580625 -0.419179 1.444340 0.579457 0.351171 0 0 0.579457 0.420543 0 NA NA
parent-courter_supergene_4_summary.txt_3 11999 Pop2 1000 514 486 1000 -0.145370 0.429961 -0.216872 0.809663 0 0.334471 -0.580625 -0.453390 1.440760 0.570039 0.334471 0 0 0.570039 0.429961 0 NA NA
parent-courter_supergene_4_summary.txt_4 11999 Pop3 1000 520 480 1000 -0.145370 0.423077 -0.201671 0.795545 0 0.350000 -0.580625 -0.480440 1.415630 0.576923 0.350000 0 0 0.576923 0.423077 0 NA NA
parent-courter_supergene_5_summary.txt_1 11999 Pop0 1000 522 478 1000 -0.145370 0.419540 -0.220734 0.802658 0 0.326733 -0.580625 -0.446518 1.428290 0.580460 0.326733 0 0 0.580460 0.419540 0 NA NA
parent-courter_supergene_5_summary.txt_2 11999 Pop1 1000 516 484 1000 -0.145370 0.420543 -0.236098 0.811677 0 0.351171 -0.580625 -0.419179 1.444340 0.579457 0.351171 0 0 0.579457 0.420543 0 NA NA
parent-courter_supergene_5_summary.txt_3 11999 Pop2 1000 514 486 1000 -0.145370 0.429961 -0.216872 0.809663 0 0.334471 -0.580625 -0.453390 1.440760 0.570039 0.334471 0 0 0.570039 0.429961 0 NA NA
parent-courter_supergene_5_summary.txt_4 11999 Pop3 1000 520 480 1000 -0.145370 0.423077 -0.201671 0.795545 0 0.350000 -0.580625 -0.480440 1.415630 0.576923 0.350000 0 0 0.576923 0.423077 0 NA NA

Multiple morphs are maintained in 0 of the 20 replicates, and those morphs contain either a parent or a courter. However, 0 of those reps with variation actually crashed.